package com.wdb.exchange.model;

import java.util.List;

/**
 * 
 * @ClassName: WxPublicMessage.java
 * @Description:微信服务模板消息发送基础Bean
 * @Time 2018年4月17日
 * @author: Tom
 */
public class WxPublicMessage {
	private String touser;//发送给用户的openid
	private String template_id;//模板
	private String url;//跳转路径
	private Data data;//消息
	private Miniprogram miniprogram;//路径参数相关
	
	public String getTouser() {
		return touser;
	}

	public void setTouser(String touser) {
		this.touser = touser;
	}

	public String getTemplate_id() {
		return template_id;
	}

	public void setTemplate_id(String template_id) {
		this.template_id = template_id;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Data getData() {
		return data;
	}

	public void setData(Data data) {
		this.data = data;
	}

	public Miniprogram getMiniprogram() {
		return miniprogram;
	}

	public void setMiniprogram(Miniprogram miniprogram) {
		this.miniprogram = miniprogram;
	}

	public class Data {
		private String first;
		private String remark;
		private List<String> keywords;
		public String getFirst() {
			return first;
		}
		public void setFirst(String first) {
			this.first = first;
		}
		public String getRemark() {
			return remark;
		}
		public void setRemark(String remark) {
			this.remark = remark;
		}
		public List<String> getKeywords() {
			return keywords;
		}
		public void setKeywords(List<String> keywords) {
			this.keywords = keywords;
		}
	}
	
	public class Miniprogram{
		private String appid;
		private String pagepath;
		public String getAppid() {
			return appid;
		}
		public void setAppid(String appid) {
			this.appid = appid;
		}
		public String getPagepath() {
			return pagepath;
		}
		public void setPagepath(String pagepath) {
			this.pagepath = pagepath;
		}
		
	}
}
